﻿using DevExpress.Utils.Extensions;
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MessageModule
{
    public partial class FormNeedRespone : DevExpress.XtraEditors.XtraForm
    {
        public FormNeedRespone()
        {
            InitializeComponent();
        }
        public FormNeedRespone(string strMessage)
        {
            InitializeComponent();
            labelControl1.Text = strMessage;
        }
        private void FormNeedRespone_FormClosed(object sender, FormClosedEventArgs e)
        {
            //FrameManager.FrameManager.flyoutPanelControl.Controls.Remove(this);
            //FrameManager.FrameManager.flyoutPanelControl.chi
            //if (FrameManager.FrameManager.flyoutPanelControl.Controls.Count == 0&&
            //    FrameManager.FrameManager.flyoutPanelControl.HasChildren==false)
            //{
            //    FrameManager.FrameManager.flyoutPanel.HidePopup();
            //}
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            this.Close();
        }

        private void FormNeedRespone_Load(object sender, EventArgs e)
        {

        }
    }
}